"""
@Project:project11
@File:urls.py
@Author:田诚
@Date:17:42
"""

from django.urls import path
from myapp import views

urlpatterns = [
    path('cate/',views.CateView.as_view()),
    path('book/',views.TuShuView.as_view()),
    path('addbook/',views.AddView.as_view()),
    path('delbooks/',views.DelView.as_view()),
    path('updbooks/<int:id>/',views.UpdateView.as_view()),
    # path('updbooks/<int:id>/',views.UpdateView.as_view()),

    path('qiniu/',views.QIniuView.as_view()),
    path('upload/files/',views.JingtaiView.as_view()),

    path('upl/',views.CateViewl.as_view()),
    path('delupl/<int:id>/',views.DelVIew.as_view()),
    # 获取所有的图书：
    path('tuall/',views.TuAllView.as_view()),
]




